-
Home
-
StoreEngine – Powerful WordPress eCommerce Plugin for Payments, Memberships, Affiliates, Sales & More
-
1.0.0-beta-6
-
Code
-
Classes
- ShippingMethod
Total Complexity |
72 |
Dependencies |
8 |
Dependents |
0 |
Total lines |
469 |
Lines of code |
227 |
Logical lines of code |
115 |
Comment lines |
150 |
Methods |
34 |
Properties |
8 |
Methods 34
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_rate() |
A |
42 |
13 |
49 |
prepare_for_db() |
A |
47 |
10 |
33 |
get_taxes_per_item() |
A |
54 |
10 |
20 |
handle_save_request() |
S |
58 |
4 |
13 |
get_rate_id() |
S |
65 |
3 |
10 |
is_taxable() |
S |
78 |
2 |
3 |
read_data() |
S |
65 |
2 |
9 |
get_rates_for_package() |
S |
69 |
2 |
7 |
set_method_order() |
S |
79 |
1 |
3 |
set_description() |
S |
80 |
1 |
3 |
set_name() |
S |
80 |
1 |
3 |
get_name() |
S |
79 |
1 |
3 |
set_is_enabled() |
S |
79 |
1 |
3 |
set_tax_status() |
S |
80 |
1 |
3 |
set_method_id() |
S |
80 |
1 |
3 |
set_zone_id() |
S |
79 |
1 |
3 |
is_enabled() |
S |
79 |
1 |
3 |
get_settings() |
S |
77 |
1 |
3 |
get_method_order() |
S |
79 |
1 |
3 |
get_description() |
S |
79 |
1 |
3 |
__construct() |
S |
75 |
1 |
4 |
get_type() |
S |
80 |
1 |
3 |
get_method_id() |
S |
79 |
1 |
3 |
get_method_description() |
S |
82 |
1 |
3 |
supports() |
S |
71 |
1 |
6 |
get_zone_id() |
S |
79 |
1 |
3 |
get_instance_id() |
S |
81 |
1 |
3 |
is_available() |
S |
77 |
1 |
3 |
calculate_shipping() |
S |
91 |
1 |
2 |
get_tax_status() |
S |
79 |
1 |
3 |
get_admin_fields() |
S |
82 |
1 |
3 |
delete() |
S |
75 |
1 |
4 |
save() |
S |
76 |
1 |
4 |
get_method_title() |
S |
82 |
1 |
3 |